package com.travel.service.impl;

import com.travel.dao.BaseDAO;
import com.travel.dao.CityDAO;
import com.travel.pojo.City;
import com.travel.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CityServiceImpl extends BaseServiceImpl<City> implements CityService {
    @Autowired
    private CityDAO cityDAO;

    @Override
    public BaseDAO getBaseDAO() {
        return cityDAO;
    }
}
